#include "Manipulator.h"

//--------------------------------------------------------------------
Manipulator::Manipulator()  
//--------------------------------------------------------------------
{
  _manip = new DefaultManipulator();
  _manip->setAutoComputeHomePosition(true);
}
//--------------------------------------------------------------------
Manipulator::~Manipulator()
//--------------------------------------------------------------------
{
}
//--------------------------------------------------------------------
void Manipulator::Fit(Node *n)
//--------------------------------------------------------------------
{
  _manip->setNode( n->Get() );
  _manip->home(0);
}
